Hot answers tagged php5
2
You could run a separate process which handles all reports, this way only one process would need to take up resources instead of many. Especially in a multi user environment this would be a good idea. Yes, you can run processes from php, check the documentation for e.g. popen().
On the other hand, it should also come to mind to think whether this (dompdf ...
1
Check the default document: in your screenshot, you're not specifying any PHP file, just a path.
More detailed explanation:
By default, no modern web server will just serve a directory listing when the user doesn't specify a document but just a path (e.g. http://www.mysite.org/somefolder/) so they all have a parameter that specify what document in a folder ...
1
The required libphp5.so should be part of your php-package. Check /etc/httpd/modules/ for it.
As you have PHP 5.4 installed on a CentOS 5, this is definitely not a package from the standard repo (perhaps you compiled it yourself?), so it's possible you don't have the apache module compiled with it. In this case, you would have to recompile php or get a ...
1
you probably have to configure the directory for allow all
something like that. please double check the permissions before applying this, as this may open the cgi folder a little too much.
<Directory "/php5-fcgi/">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow ...
Only top voted, non community-wiki answers of a minimum length are eligible