h1

About

This is the work blog of Fred Senese, a professor at Frostburg State University. He teaches general chemistry, environmental chemical analysis, physical chemistry, and computational chemistry. During the summer he works as a freelance science writer and educational media consultant.

Senese has co-authored textbooks at the college and high-school levels, and is the author of General Chemistry Online. His current project, “Stickman Chemistry”, is an interactive general chemistry course that uses Socratic dialogues and collective intelligence to provide targeted feedback to individual students. He’s also working on a sequel site to General Chemistry Online.

As a developer of educational media, he spends a lot of time tinkering with Flash, Moodle, AJAX, C#, Perl, LabView, and PHP/MySQL. He writes construction kits, learning objects, and Flash and LabView-based interfaces for control and access of lab equipment over the web. His dream is to build web environments for teaching science in the third world. These environments would be centered on collaboration and resource-sharing with isolated schools.

He’d love to hear from people involved in similar efforts. He’s also interested in summer review, consulting, textbook writing, and science writing jobs.

You can write him at fsenese AT frostburg.edu, or connect with him on LinkedIn.

8 comments

  1. I would like to thank professor Fred Senese for the clear steps to installing Apache and PHP on Vista. After following the steps, I have successfully installed both. Thanks again.


  2. I too thank Fred for the same reason. What a ledgend. I had a few issues after installing PHP with Apache not starting, but it just seemed to need a jump start (stop the service when as it perpetually tries to start, and restart) and it’s working a charm.
    Thanks Fred!


  3. I too found your instructions useful. But what about MySQL, does one follow a similar procedure with regard to UAC, etc. and should it be installed before php but after apache?

    Thanks
    Simon
    New Zealand


  4. Yes what about MySQL? It has been a bugger for me.


  5. Hi thanks, I got into trouble after installing skype. my apache just stopped running. you came to my rescue.


  6. Fred, many thanks for your generosity in sharing your experience installing PHP under Apache in Vista. That is the sign of a natural-born educator.

    I hope I am not taking advantage of your generosity, but I am at the end of my rope trying to get PHP working again after a re-install to add GD functions for image processing.

    I have tried everything, including following your manual installation instructions to the letter, as well as using the PHP installer, and PHP is still dead. No matter how I install PHP, the problem is always the same. Specifically, I cannot start Apache unless I remove the following lines from httpd.conf:

    LoadModule php5_module “C:\PHP\php5apache2_2.dll”
    PHPIniDir “C:\PHP”

    Either of those lines will prevent Apache from restarting. I know you had to comment out the 2nd line, but I have to comment out both, and of course PHP will not work without them. Both those files are present and everything is set up exactly as per your directions in “Install PHP under Apache and Vista”.

    I was hoping you may have an idea about what I have done wrong, or where I could look further to get PHP working again.

    I appreciate your contribution, and I am happy to pay for your consulting services to help me solve this problem. You certainly deserve compensation!

    Hoping to hear from you.

    Best regards,
    Al Gordon
    Toronto, Canada


  7. Fred, this is insane. After a thousand attempts to start Apache with the above 2 lines active, It suddenly restarted on the thousand-and-first attempt. I swear I changed nothing – honest! The php.ini path was still commented out.

    When I ran test.php, I saw (as expected) that PHP does not know where php.ini is located. It shows the path as c:\Windows.

    Should I just give up place php.ini in c:\Windows, or is there some way to set its path in httpd.con to c:\PHP?

    As a wise software developer once said to me, “You can’t expect software to be logical!”

    Best,
    Al


  8. I found the problem! It was a LoadModule line in php.ini. The error message was:

    [09-Jul-2010 14:22:16] PHP Warning: Cannot load module ‘exif’ because required module ‘mbstring’ is not loaded in Unknown on line 0

    When I commented out
    ;extension=php_exif.dll
    in php.ini then everything worked as it should. And php.ini is back in c:\PHP where it belongs.

    Again, many thanks for your guidance. Glad this ordeal is over! I hope!

    Best,
    Al



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.