LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   XAMPP server and Joomla is not running (https://www.linuxquestions.org/questions/linux-server-73/xampp-server-and-joomla-is-not-running-707585/)

farid_lmu 02-25-2009 08:32 PM

XAMPP server and Joomla is not running
 
Hello,

Can anyone please give me some suggestions about joomla installation
in linux platform. I'm running a lamp server. I already configured
apache web server, php and mysql server. I tested all the servers that
are running. After that I tried to install well known CMS joomla. Before running or install joomla first need to run XAMPP server. Joomla actually run on that server. My problem is that after instaling XAMPP server when I tried to test it that means when I write http://localhost/ in web browser it still shows my apache web server page/my web page. I actually extracted the XAMPP files in /opt file system(/opt/lampp). After that I installed and configured the joomla and extracted it in (/opt/lampp/htdocs/joomla) XAMPP server. After that in testing purposes when I write http://localhost/joomla in web browser, it shows the browser doesn't found.(Apache 2.0/2.1 couldn't found localhost/ in port 80). In that case
I cant move forward to configure more options about the joomla (graphical options).

I actually setup my webpage file in /var/www/html directory.
I think my apache web server makes an interference with the joomla. thats why joomla cant start up.

I checked in command line:
shell# sudo ./lampp start
which shows apache and mysql is already running
and XAMPP for linux started.

but i cant tested in web browser by http://localhost/joomla/
can anyone please give me some idea in that which will be greatful.


Thank you indeed.

frieza 02-25-2009 09:37 PM

if you have apache configured and installed with php and mysql then you might not need xampp
try putting your joomla install in /var/www, /var/www/htdocs or /var/www/html (depending on your distro) and seeing what happens when you point it to localhost/joomla

farid_lmu 02-27-2009 08:34 PM

Joomla is not running
 
Quote:

Originally Posted by frieza (Post 3457661)
if you have apache configured and installed with php and mysql then you might not need xampp
try putting your joomla install in /var/www, /var/www/htdocs or /var/www/html (depending on your distro) and seeing what happens when you point it to localhost/joomla


Hai frieza thank you indeed for your reply. Yes I followed your idea and I ignore the XAMPP server and I put my joomla installation in the original apache web server document root directory ; var/www/html and after that when I write in browser for starting joomla http://localhost/joomla I got the following statement:


Notice: Use of undefined constant PREG_OFFSET_CAPTURE - assumed 'PREG_OFFSET_CAPTURE' in
/var/www/html/joomla/libraries/joomla/environment/uri.php on line 726

Notice: Use of undefined constant PREG_OFFSET_CAPTURE - assumed 'PREG_OFFSET_CAPTURE' in
/var/www/html/joomla/libraries/joomla/environment/uri.php on line 726

Fatal error: Call to undefined function: file_get_contents() in /var/www/html/joomla/libraries
/joomla/utilities/simplexml.php on line 177


can you please give me any solution in that.

Thank you very much indeed.

farid_lmu 03-02-2009 01:39 PM

joomla installation problem
 
Hello,

Can anyone please give me some suggestions about joomla installation
in linux platform. I'm running a lamp server. I already configured
apache web server, php and mysql server. I tested all the servers that
are running. After that I tried to install well known CMS joomla. Before running or install joomla first need to run XAMPP server. Joomla actually run on that server. My problem is that after instaling XAMPP server when I tried to test it that means when I write http://localhost/ in web browser it still shows my apache web server page/my web page. I actually extracted the XAMPP files in /opt file system(/opt/lampp). After that I installed and configured the joomla and extracted it in (/opt/lampp/htdocs/joomla) XAMPP server. After that in testing purposes when I write http://localhost/joomla in web browser, it shows the browser doesn't found.(Apache 2.0/2.1 couldn't found localhost/ in port 80). In that case
I cant move forward to configure more options about the joomla (graphical options).

I actually setup my webpage file in /var/www/html directory.
I think my apache web server makes an interference with the joomla. thats why joomla cant start up.

I checked in command line:
shell# sudo ./lampp start
which shows apache and mysql is already running
and XAMPP for linux started.

but i cant tested in web browser by http://localhost/joomla/

First time I got help from frieza and he advised me as follows:
if you have apache configured and installed with php and mysql then you might not need xampp try putting your joomla install in /var/www, /var/www/htdocs or /var/www/html (depending on your distro) and seeing what happens when you point it to localhost/joomla

after that I avoid XAMPP server and put my joomla installation in /var/www/html directory and when I wrote http://localhost/joomla/
in browser it shows as follows:


Notice: Use of undefined constant PREG_OFFSET_CAPTURE - assumed 'PREG_OFFSET_CAPTURE' in /var/www/html/joomla/libraries/joomla/environment/uri.php on line 726

Notice: Use of undefined constant PREG_OFFSET_CAPTURE - assumed 'PREG_OFFSET_CAPTURE' in /var/www/html/joomla/libraries/joomla/environment/uri.php on line 726

Fatal error: Call to undefined function: file_get_contents() in /var/www/html/joomla/libraries /joomla/utilities/simplexml.php on line 177



can anyone please give me some idea in that which will be greatful.


Thank you indeed.

Zilvermeeuw 03-03-2009 12:51 AM

Did you move your joomla from /opt/lampp/htdocs to /var/www/html? Or did you install a fresh package?

You should do the last.

Lowell1947 03-03-2009 11:11 AM

Are your XAMP and LAMP servers having port conflicts? I've used Joomla on my Apache/MySQL/PHP server and never had to install XAMP also. My guess is that the two are not playing well together.

farid_lmu 03-03-2009 07:25 PM

Joomla is not running
 
Quote:

Originally Posted by Zilvermeeuw (Post 3463182)
Did you move your joomla from /opt/lampp/htdocs to /var/www/html? Or did you install a fresh package?

You should do the last.

=================================================
Yes boss thanks for your reply anyway I have sort out my problem.

thanks indeed.

kushk 03-30-2009 09:16 AM

I have installed XAMPP in Ubuntu (/opt/lampp). It starts fine. However, when I type "local host" in the browser it says "It Works" but does not take me to the main XAMPP page. "It Works" is htm file within the XAMPP folder. But I need to bring up the main XAMPP screen which has phpmyadmin.

JohnE1 04-22-2009 05:41 AM

Quote:

Originally Posted by farid_lmu (Post 3463947)
=================================================
Yes boss thanks for your reply anyway I have sort out my problem.

thanks indeed.


What did you figure out?

Share your solution with us, so others can benefit from this thread.

This is the way we learn from each other.

.


All times are GMT -5. The time now is 06:23 AM.