/etc/php.ini

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?

{ 2 comments }

PHP Increase Upload File Size Limit

by Vivek Gite on June 11, 2010 · 15 comments

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

{ 15 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?

{ 5 comments }

Q. I run a small Apache based webserver 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() etc functions. How do I disable these functions to improve php script security?

{ 11 comments }

Where Does The PHP Error Log Reside

by Vivek Gite on March 13, 2008 · 4 comments

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

{ 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 }