PHP is a scripting language, often used for websites.

learn more… | top users | synonyms (1)

0
votes
1answer
943 views

Xampp is not running on ubuntu

I have nginx ,Apache2 ,Xampp installed on Ubuntu 12.04 Nginx is running on port 80 First I stopped Apache2 using /etc/init.d/apache2 stop Now I started Xampp using /opt/lampp/lampp restart I ...
-1
votes
1answer
156 views

PHP Mail Function User Restrictions? [closed]

I have multiple sites on this server, under two different users. On one, the mail function is working how I intend -- actually emailing the subject. On the other, the email isn't going out (I'm not ...
0
votes
1answer
74 views

Apache2 post installation

I use the following command to install Apache server: sudo apt-get install apache2 The installation process seems to have completed without any problems. When I point my browser to localhost:80, ...
1
vote
1answer
164 views

Installing Cassandra with PHP [closed]

I want to install cassandra to be used in php. Apache http server is good. I didn't get any valuable tutorial on installing apache, php and cassandra in ubuntu. All the tutorials shown, may be they ...
0
votes
0answers
277 views

cannot install php5 [closed]

I have a problem with installing php5. I was trying to launch php5-apc on my server, but it failed and broke all my dpkg. Now, I have to remove php5 and try to reinstall it. For some reasons I have ...
0
votes
2answers
1k views

How to enable SFTP Support in cURL?

I have installed curl-7.27.0 and it is working fine how ever it is not working is run below command to find whether it is now, but it showed that : Result of the command curl -V ...
1
vote
1answer
282 views

PHP may be executing as a “privileged” group and user, which could be a serious security vulnerability

I ran some security tests on a Ubuntu 12.04 Server, and I've got these warnings : PHP may be executing as a "privileged" group, which could be a serious security vulnerability. PHP may be executing ...
-1
votes
1answer
843 views

ERROR: fork(): Cannot allocate memory (12) [closed]

This is the output of my ulimit -a: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) ...
0
votes
1answer
674 views

I upgraded my server to 12.10, why does PHP not work with nginx?

I upgraded and now I can't use my nginx's proxy_pass arguments on my Ubuntu server to work with PHP. I keep getting 502 Bad Gateway errors. Why is this, and how do I fix this?
2
votes
1answer
256 views

Problem running PHPUnit

I seem to be having a problem with PHPUnit running properly on my machine. I have Pear installed and running correctly on my machine, and then followed this guide to the letter: ...
0
votes
2answers
5k views

Getting access to var/www

Very, very new user to Ubuntu and I've been searching for a long time without finding an answer. Probably I've gotten the answer but I don't understand it all that very well so I thought I try this ...
0
votes
1answer
148 views

sqlite2 does not work in 11.10

I have configured Ubuntu 11.10 in my PC. I have installed php 5.3.6-13ubuntu3.8. My problem is that after PC upgrade, sqlite2 is not supported in PHP. Also sqlite3 database is locked whenever I have ...
0
votes
2answers
2k views

Can't find Localhost files

Hope you can help. This is my first time trying Ubuntu/Linux. I am logged in as root I have downloaded and installed LAMP and PHPMYADMIN. I get the test page under localhost say that It works and is ...
2
votes
1answer
139 views

nobody and nogroup as directory owner when writing with php

When executing a php script, that creates a directory the resulting file is owned by nobody and nogroup. I know that apache2 is executed as www-data on Ubuntu systems, so, why is my directory owned by ...
3
votes
1answer
317 views

How to make apache2 use php 5.4.5 compiled from source?

As most of us ubuntu users know, 12.04 comes with it's own version of Perl and PHP (5.3.10). Recently I compiled apache 2.2.22 and PHP 5.4.5 from source, and when I open a terminal to php -v, it ...
1
vote
1answer
104 views

Configuring php on Ubuntu server

I have been following this tutorial http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp And I have got to the part where I am running a simple test to ...
0
votes
1answer
221 views

After uninstall php from ubuntu and reinstalling it. My web site stopped work.

I'm running an Ubuntu server, and I got a problem with an SAP extension for php. I decided to uninstall php and reinstall it but now nothing works at all. This how I installed php : ./configure ...
0
votes
0answers
68 views

Setting permissions to let postfix and PHP work in the same folder

I am trying to achieve something simple, but permissions are making it very difficult. Here is what I expect: Postfix should drop all incoming e-mail from the xx domain (catchall) into the ...
0
votes
1answer
237 views

After installing mysqli phpmyadmin stop loading

On Linux host 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux phpmyadmin won't load after installing mysqlnd. I'm using php5, mysql AND mysqlnd. Maybe ...
2
votes
2answers
3k views

Where is the root directory of localhost

I installed php5 from the Software-Center and it came along with Apache2. Where is the localhost root folder where I can put up my files How can I install mysql database along with phpMyAdmin after ...
0
votes
2answers
647 views

How to solve Fatal error: Call to undefined function readline()? readline library not found?

I have an Ubuntu 12.04 LTS. And XAMPP for linux 1.7.7. When I code in php with and call the readline function I get this error message? "Fatal error: Call to undefined function readline()" I ...
3
votes
0answers
158 views

How do i install PHP5.2 on Server 12.04 [duplicate]

Possible Duplicate: How to downgrade PHP from 5.3.x to 5.2.x How do i install PHP5.2 on Ubuntu 12.04 server? Do you know any PPA for that? Thanks,
0
votes
0answers
256 views

Using Symfony on Apache using a Virtual Machine

I have an Ubuntu Server 12.04 and a tasksel LAMP stack installed in VirtualBox. I would like to be able to use the PHP Symfony framework and access it over my Windows 7 virtual host, but am having ...
3
votes
2answers
311 views

Simple and easy way to permanently mount remote folder

We are planning to replace all our Windows Machine (around 25) of PHP development team to ubuntu and we found everything perfect here however, we have two major problems as we work in team, we do ...
0
votes
1answer
204 views

Apache2 memory limit

What does setting your memory limit to -1 do in php.ini for apache2. I assume it just gives it unlimited memory but im not sure could anybody clarify? Dont want it chewing through all my memory ha! ...
0
votes
0answers
100 views

PHP safe_mode is a pain, looking for advice (Ubuntu 12.04 server, public webserver)

Maybe askUbuntu isn't the right forum or I haven't provided the right search query but I haven't seen anything in my searching of askUbuntu on PHP safe_mode. I get lots of Windows Safe Mode and Ubuntu ...
0
votes
0answers
207 views

12.04 LAMP server php mail() [duplicate]

Possible Duplicate: How to have my PHP Send mail? I was running my website on a host, now I'm hosting it myself. After about a week I just noticed no mail functions are working whatsoever ...
1
vote
0answers
142 views

Unable to install php5-curl

so I have tried using aptitude to reinstall php5 and curl and apache however, when I attempt to install php5-curl, it wants to remove over 90 packages including zlib .... http://pastebin.com/4WdY0UZe ...
0
votes
2answers
225 views

Can't get rid of PHP 5.4.4

I recently upgraded from PHP 5.3.4 to PHP 5.4.4, and now I want to downgrade. I removed all the packages through apt-get remove php5 after removing the repository, and then ran apt-get install php5 ...
2
votes
2answers
848 views

LAMP: Apache not accepting “index.php” files and displaying directory listing

I just installed lamp here on my desktop. i am using 12.04. Installation works perfectly but when i tried to access localhost/wordpress/ it doest read the index.php. It shows like this: Why is it ...
1
vote
1answer
358 views

Call to undefined function sqlite_open() in CLI mode

12.04 AMD 64 apt-get install sqlite php5-cli php5-sqlite php -r '$x = sqlite_open();' PHP Fatal error: Call to undefined function sqlite_open() in Command line code on line 1
0
votes
1answer
256 views

Hosting my own Cloud IDE like cloud9

Hi I have a headless ubuntu server and would like to install some sort of cloud9 like IDE - any suggestions with instructions? Code highlighting and hinting would be excellent. This is for mainly PHP ...
1
vote
1answer
847 views

12.04: php5-curl not working, NOT a LAMP server

I've just setup a fresh install of 12.04 Server. Have everything working nicely, except getting this php5-curl mod to work. I ran apt-get install curl libcurl3 libcurl3-dev php5-curl So I go check ...
0
votes
0answers
27 views

Ubuntu apt-get bricked, what should I do? (From SO) [duplicate]

Possible Duplicate: Ubuntu apt-get bricked, what should I do? Somehow my Ubuntu install can't find what I believe to be very common packages.... E: Unable to locate package php5-curl E: ...
0
votes
4answers
152 views

Is there a server app in Ubuntu Software Center for PHP?

I'm a beginner learning PHP. I need a server and MySQL. Is there an app in Ubuntu that I can download? I think I have installed something with PHP5 Server-side something. But when I clicked to use ...
1
vote
1answer
305 views

How do I get mrbs installed and working?

I'm trying to install Meeting Room Booking System on ubuntu 12.04 I think I have apache and php5 up and working fine. A test.php file with contents: <?php phpinfo(); ?> loads and gives me ...
2
votes
1answer
144 views

Apache or PHP inserting a Newline at start of every HTML and XHR response

I have a PHP app running on a cloud-based Ubuntu server and for some reason, I am getting a newline at the start of every HTML file or XHR response. I have a local version of the app running on ...
0
votes
2answers
657 views

How can I view the contents of “/var/www” in browser, like 'wamp' in windows OS?

I'm new for PHP. I've installed Apache, MySQL, PHPmyadmin in Ubuntu 10.10. Is there any way to access the contents(folder/files) of /var/www in browser like 'wamp' in windows OS?
3
votes
1answer
1k views

Connection failed to open the DB connection: could not find driver

I am newbie for ubuntu and I was trying to run lamp. I installed mysql, and pdo extensions. when i show config(with phpinfo()): Configuration File (php.ini) Path: /etc/php5/apache2 Also I see mysql ...
0
votes
0answers
22 views

Can't save a php file in /var/www [duplicate]

Possible Duplicate: Whats the simplest way to edit and add files to “/var/www”? A completely newbie here. I just finish typing my first PHP script in Sublime Text, now I need ...
0
votes
1answer
204 views

SVN privilege for newly created user

I am required to create a new user and then svn co into the newly created user's home directory by calling a bash script from a php page. The below example is a line from the sudoers file which I saw ...
0
votes
3answers
365 views

How do I get php5 running?

I have just installed php5 on Ubuntu, but it's not running. How do I get it running? Or more generally, how do I start an application software that doesn't have an entry in init.d?
0
votes
1answer
553 views

apache2 - php5 file upload and post max size

I've installed from the official repos the LAMP server. Into the file /etc/php5/apache2/php.ini i've changed post_max_size = 8M to post_max_size = 32M and upload_max_filesize = 2M to ...
0
votes
1answer
155 views

how to find the PHP folder when configure one software?

When I want build-mapserver with php/mapscrit module, I should use the ./configure --with-php= ../php-4.3.11(the dir of PHP), but I do not know the PHP dir on my OS. I apt-get install the PHP and I ...
1
vote
0answers
31 views

php -a improved console

When coding in php I use a terminal with php (php -a) to test some code snippets. However, the php console does not respond to many keys, such as a Ctrl-Left/Right, non-ascii characters and stuff like ...
0
votes
0answers
185 views

help in php brute force [closed]

I found some php source code to generate all possible combinations via a recursive function. It works fine, but I need help modifying it to my project's specific needs. I'm having trouble making the ...
0
votes
1answer
156 views

xdebug 2.2.1 installed but not working with cgi

I've installed (via pecl) xdebug. It is installed (as phpinfo() output indicates), but it doesn't seems to work with CGI (with CLI it works). I've restarted apache, without result. Any ideas? Some ...
0
votes
1answer
254 views

Mail Delivery System and GMAIL error

After following the following tutorial: http://blog.seeit.org/2010/08/php-mail-with-ubuntu-desktop-and-gmail/ in order to send email through Gmail. I get the following error: Mail Delivery System ...
1
vote
2answers
594 views

How do I create a new text file with a new name from a phpscript everytime it is executed

I use a Php script which is actually for sending sms from the terminal using an online sms service 160by2 What it does is opens the terminal,asks for the number then the sms and it is sent... Now i ...
2
votes
1answer
143 views

How to compare two package version numbers

I'm writing a script in PHP that needs to compare two package version numbers to determine which is newer. PHP has a handy function called version_compare(), but it gets really confused with some of ...

1 3 4 5 6 7 9