PDA

View Full Version : Running PHP in a Directory on a Cheap Web Host



gunDriller
17th May 2013, 09:39 AM
I have tried the PHP software with Dreamhost.com.

It was a good intro to forum-ology. I got about 20,000 porn spam posts to go with the 50 posts I made. I was experimenting with using PHP to present computer graphics work.

Didn't go so well ! :)


I would like to take another shot at it, but I am wondering whether I need to pay the $100-$120 that Dreamhost charges.

http://php.net/

I like PHP type forums. Side-stepping the fact that one of the primary PHP developers is an Israeli programmer.

http://us3.php.net/get/php-5.4.15.tar.gz/from/a/mirror

/\ Download


I will be experimenting with it, but I very much welcome any instruction from G-S.us tech folks.

How do you install it, on the web server, after you FTP the files ?

Sometimes I think one of the main things that is to be learned about computers is that you can try something, and it won't blow up.

So I will try extracting the GZ and playing around with it. See if I get a nastygram from my cheapo web host for running executables.

Thanks !

JohnQPublic
17th May 2013, 09:44 AM
There is a way to set-up PHP on your local machine. You can play with it locally until you figure it out.

gunDriller
17th May 2013, 10:51 AM
now i really feel like an idiot.

i mean, more than usual ! :)


i downloaded a Rev. 5.4, which comes as a *.gz

i have 7-Zip, thought that would handle the *.gz no problem.

but it's going back & forth between *.7z and *.gz formats.


i've been Zipping & Stuffiting & RAR'ing stuff for 20 years. but this is just - temporarily - confounding me.


i shall not bang my head against the wall.

i shall prepare lunch, and take a hot bath, and plant some peanuts, and do non-tech-stuff until all becomes clear, and transcendentalness returns.


although sometimes, i find that pulling down menu's & swearing is a good way to learn a program. :)

Cebu_4_2
17th May 2013, 10:56 AM
There is a way to set-up PHP on your local machine. You can play with it locally until you figure it out.

I thought that applies to any OS but windows?

JohnQPublic
17th May 2013, 11:31 AM
I thought that applies to any OS but windows?

Here is how to set-up WAMP: http://www.ultraedit.com/support/tutorials_power_tips/uestudio/local_php_mysql_dev_environment.html

But you can also go beyond that and run PHP as a command language under windows: http://php.net/manual/en/install.windows.commandline.php

Cebu_4_2
17th May 2013, 12:15 PM
Trying but stuck on first step:

Step 2: Install Apache
Run the Apache install file. You will need to follow the prompts and respond accordingly.
When you reach the window that asks for server information, you may enter the following:

and then

Windows can not open this file.

JohnQPublic
17th May 2013, 01:35 PM
Trying but stuck on first step:

Step 2: Install Apache
Run the Apache install file. You will need to follow the prompts and respond accordingly.
When you reach the window that asks for server information, you may enter the following:

and then

Windows can not open this file.

That is just an example. I have not tried that specific method. I set-up Wamp on a personal PC a few years ago, and it was a little tricky, and I never really used it (but I verified it was running).

I think I used an MD5 file, like this one: http://www.apache.org/dist/httpd/httpd-2.0.64-win32-src.zip.md5

They do not seem to have the latest Apache version for Windows.

Cebu_4_2
17th May 2013, 02:21 PM
There is a lot of information out there. I need to make a complete website and the most simple things are overwhelming.

Cebu_4_2
17th May 2013, 04:44 PM
Haha, not sure if this helps.


http://youtu.be/MH36mH88iDA

http://youtu.be/MH36mH88iDA

gunDriller
17th May 2013, 04:52 PM
There is a lot of information out there. I need to make a complete website and the most simple things are overwhelming.

i think Seamonkey has a good web page editor. Seamonkey is the continuation, by Mozilla, of Netscape at about the 4.79 Rev. level.

one of the best things i ever did web-wise was take a Flash class, actually ended up taking 2. it's a wierd combination of animation tool & programming tool, but you can do just about anything with it.

I recently tried to take the Papervision3D class, but ran into a stone wall with the Flashbuilder tool. perhaps a versioning problem with Windows 7, who knows.


http://Lynda.com/

they have good online classes there, for just about everything - Flash, HTML5, 3D animation.

Caveat - Lynda is Jewish.


i like websites like GoToAndLearn.com. run by enthusiasts, for enthusiasts.


of course, there's also ed. programs like the MIT Open Courseware project, and Coursera.com.

the MIT thing, MIT put most of their classes on line. Coursera has the archives for several universities online open source learning.

a person would need about 100 brains to keep up with all those classes.

Cebu_4_2
17th May 2013, 08:06 PM
I followed the video I posted above. 9 minute video took me 3 hours to complete, step by step.

I deleted dreamweaver before I started so I wouldn't have any conflicts. My localhost is now a linux server system running on XP, everything checks out and seems to be working.

This joomla looks to be pretty simple especially with all the videos you can bring up on youtube. Seems from what I have read so far that everything is pretty much click and go. No need to learn heavy programming which for the most part, I'm allergic to.

Now I will surf through templates and see if there is anything I want to use as a theme. I could steal all my current content and edit it in joomla which is where I might start.

Anyways I really feel that I have accomplished something today. Been a while.

Special thanks gundriller, without seeing this thread I would still be spinning my wheels in the mud.