Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

getting started with apache

Featured Replies

I created a web site via hosting on the web 4 months ago and want to go back to it and keep working on it now, but locally using Apache (current version 2.0.63). I installed this on a partition that I access using Windows 7 and Ubuntu OS and placed my website within htdocs. After going to localhost/sitename, I just get an index of all the files&folders - i.e. it doesn't use the index.php to display content. I know I have to configure apache to run php scripts (but can't remember how) but even if this isn't done, it should be asking me to download the script (which it usually does when php is not installed on apache, so something else is wrong).

 

So that's one question. The other is: Is there any problem in using the same htdocs location (where my web sites will be stored) when I use Windows 7 to test and build as when I use Ubuntu?

 

Thanks

Using the same htdocs folder shouldn't be a problem. Personally I would uninstall the apache you have currently and install XAMPP on both platforms, then configure them to use the same location using the httpd.conf. This will also install the PHP for you along with mysql

In httpd.conf, make sure you have:

AddType application/x-httpd-php .php
AddHandler application/x-httpd-php5 .php

You might aslo need to set your Directory index

DirectoryIndex index.php index.html 

  • Author

Thanks for all the above. I got XAMPP working yesterday; but today it doesn't run Apache (what could have gone wrong in the night!) as shown in snip. As such, the browser displays a blank screen for http://localhost/

 

Any clues?

post-15106-126494718735_thumb.png

  • Author

Sorry. That appeared to be working earlier, it flickered "running" next to Apache on the XAMPP control panel the first time I started it after re-installing Apache, but now I have the same problem as previously. Any idea?

Have you got this sorted yet?

If not you'll need to change the default port that skype uses. Skype -> Options -> Advanced -> Connnection, if I remember correctly.

  • Author

Yes, but I'VE GOT ERRORS which I didn't used to have, such as:

Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in E:\web\xampp\xampp\htdocs\discordian18\libraries\joomla\cache\handler\callback.php on line 99

 

May be an ealier version of php that it's running? Or maybe a bad copy of the files?

Try and call php5.ini in your .htaccess and see if that works... Otherwise have you properly installed a fresh Joomla install on xampp?

 

(Port 80 is the http port, if Skype is running then I assume all incoming requests on port 80 are given to Skype instead of Apache. This means when your browser tries to get your sites html from your IP on the http port (80) it is, instead, going to Skype and not working or creating an Apache/Skype conflict or something.)

  • Author

I've been P****** around for a while - can't see how to check which version of php I'm running in xampp. The web server it's being hosted on has php 5.2.* and there are no problems and I just d/l ded the files to xampp with filezilla. I tried replacing xampp's php files with a copy of php 5.3, but then apache wouldn't start so maybe the files were faulty. I don't know how to call php5 within joomla itself, but fairly sure its configured for php 5+ . As an aside, do you know what Apache mod_rewrite does in global config? Thanks

  • Author

It was a question of a Joomla component (for the main menu) being updated, so that works now. This thread has sounded like a bit of a monologue! I'd still like to know what "Apache mod_rewrite" does in global config in the joomla back end, help with that appreciated.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.