The Stack Overflow podcast is back! Listen to an interview with our new CEO.
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 75968

PHP is a general-purpose scripting language that is especially suited for Web development. The online manual is an excellent resource for the language syntax and has an extensive list of the built-in and extension functions. Most extensions can be found in PECL.

0
votes
The configuration (if it's mod_php, not CGI) may be also changed in the .htaccess files with a php_flag setting. Look there.
answered Aug 11 '11 by cweiske
1
vote
You might want to use phpfarm to install the second php version on that machine. …
answered Sep 13 '11 by cweiske
1
vote
Nearly all process execution functions in PHP (e.g. exec, backtick operator, shell_exec) wait for the called program to finish. That's the way it is. If you want to do other things in your PHP script while the called program is running, either background it or use PHP's process control functions. …
answered Aug 15 '11 by cweiske
0
votes
-timeout setting: FastCgiServer /var/www/cgi-bin/php-cgi-5.3.1 -idle-timeout 120 Maybe there is something similar for IIS. …
answered Aug 11 '11 by cweiske
4
votes
To get that question out of the unanswered list: @BHare: The problem was a combination of not having the right privileges to /var/log/apache2 and also not using integers for a local error_reporting.
answered Aug 12 '11 by cweiske
2
votes
Use Pyrus, the next-gen pear installer and follow the instructions in Using Pyrus To Manage PEAR Installable Vendor Libs.
answered Jul 7 '11 by cweiske
1
vote
2answers
Redhat Enterprise Linux Server 6 contains php54 packages, in addition to the normal php packages that ship version 5.3. Unfortunately for me, a php-redis package exists, but no php54-redis package …
asked Dec 3 '14 by cweiske
1
vote
Missing extension .so files The extensions listed and commented out in php.ini are just examples. They are not "delivered"/installed with PHP by default. Also, there is no mysql.so file unless you … built the extension as a "shared" extension. If you compile PHP yourself, you need to activate the extensions in the configuration. Run ./configure --help to get the options. If you change the …
answered Aug 8 '11 by cweiske
0
votes
I use PHPfarm to run many PHP versions on one apache instance. Works absolutely fine. You basically install alternative PHP versions as CGI and use them to handle .php files in certain vhosts. …
answered Aug 11 '11 by cweiske
0
votes
Try to upgrade your PEAR installation: $ pear upgrade pear (The pecl command is part of PEAR) Chances stand that your current pecl/pear setup is broken and needs to be fixed first.
answered Aug 11 '11 by cweiske
0
votes
Run $ netstat -l You should see the mysql server listening on port 3306. If it's 127.0.0.1, the server listens on the loopback interface only. Fix your my.cnf in that case.
answered Jul 28 '11 by cweiske
0
votes
Did you install libapache2-mod-php5? php5 alone does not provide the apache module.
answered Aug 12 '11 by cweiske