I have a DS WHM - cpanel running apache / with litespeed I have a number of websites running on this server I need to run CLI on one of the sites the CGI module is enabled in the apache build. The ...
I try to run a PHP script from the command line, but get the following error: Call to undefined function mysql_connect() However, the mysql module is loaded: root /var/www/scripts # php -m | grep ...
I am running php 5.3.3 on rhel 6.2 with Apache 2.2.15 and am failing to get PHP code interpreted by Apache. There are no errors (in the system log, httpd/error_log, or php_errors.log) - I have ...
[ANSWER AT THE END OF THIS POST] I just installed the php5-cli package in Ubuntu 11.04. If I run: /usr/bin/php5 -a # The -a is for interactive mode I get the output: Could not startup.. ...
Any ideas on how i can fix this warning? Getting this while executing it from shell, on FreeBSD 8.x # /usr/local/bin/php --run 'echo "test";' PHP Warning: PHP Startup: apc.shm_segments setting ...
I have a php file test.php #!/bin/php <?php echo "test"; ?> This file owned by root and its permissions are these -rwxr-x--x so 'others' can execute, but cannot read. When logged in ...
i wanted to install php-cli in php5.2.11..does it come built-in or should i install it?