Month: May 2013
Thanks to Author: Jeremy Morgan
Tutorial will show you how to set up Apache, PHP and MySQL on your Quantal Quetzal machine so you can get rolling.
Install Apache
First you install Apache, and it’s as easy as it ever was:
Go to Terminal
1 |
|
After a quick install it will come up automatically. Load up a browser and point it http://localhost and you should see this:
This is your bare Apache server.
Install PHP
You’ll want to install the latest version of PHP 5, to do that type:
1 |
|
This will install PHP5 plus the libraries to interface with Apache.
You’ll want to restart the server
1 |
|
To test it out, create a file called test.php:
1 |
|
Let’s use the phpinfo() function so we can check out our installation:
1 |
|
It should look like this:
You can inspect your options and if you want to change anything, your php location is here:
1 |
|
Install MySQL
Next you’ll need to install the MySQL server. This is also super easy:
1 |
|
MySQL will ask you for a password. You really shouldn’t leave this blank, even if it is just going to be on your local machine. It only takes a second to do and some applications will require a password of some type on the server.
Test your server to make sure it’s working properly.
1 2 3 |
|
It should look something like this:
Now you’re up and running!
You may want something to manage your MySQL data, I realize not everyone is as crazy about the prompt as I am. PHPMyAdmin is great:
1 |
|
InfoPath: Hide command text for conditionally inserting row in repeating table
Solution:
- Select the repeating table, right click on it to open up context menu.
- Click on “Repeating Table Properties…” > “Display Tab” > “Conditional Formatting…” button. It will open up “Conditional Formatting” dialog.
- Click on “Add…” to open up “Conditional Format” dialog.
- Select the condition and check “Don’t allow user to insert or delete this control” as shown in the image below.
- Click OK button on every open dialog.
- Now preview the form. Based on evaluated condition, clicking on “Add Employee” will either allow or don’t allow you to insert a new row.
.
Disk Defragment in Windows 8
In Windows 8, the name for a lot of features in Windows 7 has changed. For example, Windows Anytime Upgrade is now called Add Features to Windows 8. Disk Defragmenter has now been changed to Optimize Drives. Not really sure why the name changes were necessary, but if you’re looking for something in Windows 8 and can’t find it, it’s probably because the name has changed.
Look for more information : http://helpdeskgeek.com/windows-8/what-happened-to-disk-defragmenter-in-windows-8/