/etc/php.ini

I am in the process of setting Apache and PHP for my small business server. I’m not utilizing file upload functionality in any of my PHP scripts. How do I disallow uploading files under CentOS or Ubuntu Linux based LAMP server?

{ 1 comment }

I‘ve recently installed php 5.3.5 in my UNIX box and my old working php code not working. It displays code in pages which is in <? … my code … ?> php tags. How do I fix this problem?

{ 3 comments }

How do I increase upload file limit from 2MB to 10MB under Apache 2 UNIX / Linux web server?

{ 25 comments }

Q. I’m using PHP along with latest version of Apache. Only <?php and <script> tags are recognized. Many of my scripts are broken. How do I allow the <? tag also?

{ 7 comments }

I run a small Apache based web-server for my personal use, and it is shared with friends and family. However, most script kiddie try to exploit php application such as WordPress using exec(), passthru(), shell_exec(), system() functions. How do I disable these functions to improve my php script security?

{ 17 comments }

I‘m running CentOS 5.x server with Apache 2.2 + PHP 5.x server. Can you tell me exact location for php error log file?

{ 4 comments }

I‘ve been trying to migrate my webblogs using Wordpress inbuilt import facility. I’ve exported current blog as a xml file and downloaded to my desktop. Next I navigated to my new blog’s admin area and clicked on Manage > Import. However import failed after importing 50-60% posts only.

I went through Apache and PHP log files and I realized that the script was timed out. How do I fix this problem under Linux / UNIX?

{ 3 comments }