PHP is a widely-used, general-purpose scripting language that is especially suited for web development.
0
votes
2answers
103 views
Updating PHP 5.3 to 5.4 in CentOS
I followed this tutorial to update PHP from 5.3 version to 5.4. My distro is CentOS 5.5.
After running the following command:
yum --enablerepo=remi,remi-test install httpd php php-common
I get ...
2
votes
2answers
68 views
How can I install php5-curl on Ubuntu 12.04 LTS (GNU/Linux 3.2.0-24-generic x86_64)
I have a working server running Ubuntu 12.04 LTS (GNU/Linux 3.2.0-24-generic x86_64), including apache and php. Now I want to add curl support for php by running this:
apt-get install php5-curl
...
1
vote
2answers
54 views
How to install PHP 5.3 on RHEL5
I'm working with a RHEL5.1 box that has PHP 5.1.6 installed by default. I need to upgrade PHP to PHP 5.3.x. I've tried several tutorials and have had no luck. Can anyone help me out with this?
1
vote
0answers
31 views
/etc/php.ini not being read on fastcgi?
On my DV from MediaTemple running Centos 5.8 I installed APC.
I then added extension = "apc.so" to /etc/php.ini so APC will be enabled for all existing and future sites on the server.
When I checked ...
2
votes
1answer
104 views
Cannot Access Webpage from Outside LAN
I have a CentOS 6.0 web server running httpd, mysql, php, and Joomla 2.5. It has a static, public IP address. I can access the webpage (which is the Joomla management console) by IP address perfectly ...
1
vote
1answer
44 views
nginx + php5-fpm + htdocs on USB
None of the configurations that I've looked up can help with setting up Nginx to serve PHP files on a mounted USB folder. I'm currently getting file not found when I try and access a PHP file on the ...
0
votes
2answers
50 views
Upgrading php on a Linux server
I am running a Redhat on a webserver. The current version of php on the server is 5.1.6. I want to upgrade it to 5.3.8 so I downloaded php and compiled it and replaced the older php binary with the ...
2
votes
2answers
377 views
Execute shell script from php, as root user?
Need to execute the following line from PHP:
$res = shell_exec('sudo sh /home/nicklas/cronjobs/make_account.sh
username password');
The problem is nothing happens on execution. If i try to ...
1
vote
3answers
148 views
Curl not found (Glype)
I'm trying to install proxy software called Glype on my server. It continues to tell me that "Glype requires cURL/libcurl". I have the latest version of curl installed. Why might this be happening? ...
0
votes
1answer
173 views
Install another PHP version. Fedora 17
How can I install another PHP version?
I have php 5.4.5 for now, but I need the version 5.3.15 running too.
How can I perform this on Fedora 17? Without using a Virtual Machine?
1
vote
0answers
36 views
Unmanaged VPS bought today. Sendmail not functioning correctly
I purchased an unmanaged VPS today. I moved my website on over, and when I try to send an email. It returns a blank page. Not to mention I had to install PHP myself. Apache was there, for some reason, ...
0
votes
1answer
93 views
PHP file recursive change array key on find [closed]
I used PHP array
$lang['module']['1'] = 'Title';
$lang['module']['2'] = 'Title2';
$lang['value'] = 'text123';
how i can use replace in terminal Key Value to CASE UPPER ?
$lang['VALUE']
...
1
vote
1answer
667 views
Not able to configure phpmyadmin in Ubuntu 12.04
I tried to configure LAMP on Ubuntu 12.04 following this guide (http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp). But when I point to ...
1
vote
2answers
205 views
How can I get crontab to use a different PHP installation location?
I have a MAMP setup which runs PHP 5.3.5 on my Mac OS X 10.5 computer. I am trying to install a crontab that executes a PHP script, which is located on my MAMP server. I can only get the crontab to ...
3
votes
2answers
199 views
apache and php Segmentation fault [closed]
I have recently migrated to Archlinux. I installed Apache, php and mysql according to the Arch Linux LAMP wiki page.
Now I have setup a virtual host for my new Symfony project.
For every request I ...