Categories
Apache

How to fix AH00051: child pid XXXX exit signal Segmentation fault (11)

I had a problem with my Apache from last few day’s. The problem was something like that

[core:notice] [pid 4491] AH00051: child pid 4911 exit signal Segmentation fault (11), possible coredump in /etc/apache2

None any applications was running in my Apache server. I got stuck by it and I tried a lot to fix that problem. Finally I fixed the shit. Actually the main problem is in php5-xcache. 

If you got that types of problem then simply remove php5-xcache from your system. To remove php5-xcache type

apt-get --purge remove php5-xcache

in your terminal. And then restart your apache server. Hope your problem will solve.

Categories
Apache Web Server

Create Virtual Host in Apache Server

  • To create a virtual host in Apache server and access that by your browser you have to follow couple of steps. In this tutorial I will try to describe how you can create virtual host and how you can access your file by brower.

Virtual Host in Apache Server
Virtual Host in Apache Server

Categories
Apache Code Area Ubuntu

Load PHP module in Apache Server

PHP is not running (showing php as a plain text in your browser) in your apache server? Then load/enable php module in apache. To do this follow these steps.

Hope this will be helpful for you!

Categories
Apache Code Area Ubuntu

How to enable .htaccess in Apache on Ubuntu?

By default htaccess is enable in ubuntu for apache server. But if you got any problem with your visit site for htaccess, then follow these steps and solve the problem.

Categories
Apache Tools and Technologies

How to Change the Apache Port in XAMPP

Sometime it is necessary to change our apache server port number. It’s really important to now how to to that. It is quit easy  procedure, just follow the instruction.

STEP 1:  Go to your xampp(where you installed xampp) and then go “xamppapacheconf” and open the httpd.conf file.

STEP 2: You can see there

#Listen 0.0.0.0:80

#Listen [::]:80

Listen 80

 

Now you can edit the port number, Here is default is 80 enable, just change the number with your necessary port number.

 NB: “#” sign means disable sign, so you can simple disable port number 80 just add a # before the word Listen. And add your number by type Listen and your necessary port number.

STEP 3: Finally restart the xampp. This is the simple process it will take maximum 5 min.

 

 

 

Categories
Apache Tools and Technologies

How to Configure xDebug in XAMPP or Apache

xDebug is Extremely useful and popular tools for debugging error for PHP programmers.It’s really great debugger for PHP programming. Actually it’s working with Apache. To install or configure xDebug follow some simple steps given below.

Step 1: Open your php.ini file

Step 2 : Find xDebug and then you can see,

;zend_extension = "C:xamppphpextphp_eaccelerator_ts.dll"

Just delete (;) from that line.

Step 3: Then cope the following line and paste it into php.ini file

xdebug.remote_enable=On
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler=dbgp

 Step 4 : Finally restart Apache. Now you can find your error very smartly and easily.